package com.ruoyi.yun.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.yun.mapper.YunCoufigEightforwardMapper;
import com.ruoyi.yun.domain.YunCoufigEightforward;
import com.ruoyi.yun.service.IYunCoufigEightforwardService;

/**
 * 808转发管理Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-10-24
 */
@Service
public class YunCoufigEightforwardServiceImpl implements IYunCoufigEightforwardService 
{
    @Autowired
    private YunCoufigEightforwardMapper yunCoufigEightforwardMapper;

    /**
     * 查询808转发管理
     * 
     * @param id 808转发管理主键
     * @return 808转发管理
     */
    @Override
    public YunCoufigEightforward selectYunCoufigEightforwardById(Long id)
    {
        return yunCoufigEightforwardMapper.selectYunCoufigEightforwardById(id);
    }

    /**
     * 查询808转发管理列表
     * 
     * @param yunCoufigEightforward 808转发管理
     * @return 808转发管理
     */
    @Override
    public List<YunCoufigEightforward> selectYunCoufigEightforwardList(YunCoufigEightforward yunCoufigEightforward)
    {
        return yunCoufigEightforwardMapper.selectYunCoufigEightforwardList(yunCoufigEightforward);
    }

    /**
     * 新增808转发管理
     * 
     * @param yunCoufigEightforward 808转发管理
     * @return 结果
     */
    @Override
    public int insertYunCoufigEightforward(YunCoufigEightforward yunCoufigEightforward)
    {
        return yunCoufigEightforwardMapper.insertYunCoufigEightforward(yunCoufigEightforward);
    }

    /**
     * 修改808转发管理
     * 
     * @param yunCoufigEightforward 808转发管理
     * @return 结果
     */
    @Override
    public int updateYunCoufigEightforward(YunCoufigEightforward yunCoufigEightforward)
    {
        return yunCoufigEightforwardMapper.updateYunCoufigEightforward(yunCoufigEightforward);
    }

    /**
     * 批量删除808转发管理
     * 
     * @param ids 需要删除的808转发管理主键
     * @return 结果
     */
    @Override
    public int deleteYunCoufigEightforwardByIds(Long[] ids)
    {
        return yunCoufigEightforwardMapper.deleteYunCoufigEightforwardByIds(ids);
    }

    /**
     * 删除808转发管理信息
     * 
     * @param id 808转发管理主键
     * @return 结果
     */
    @Override
    public int deleteYunCoufigEightforwardById(Long id)
    {
        return yunCoufigEightforwardMapper.deleteYunCoufigEightforwardById(id);
    }
}
